<?php

// ******************************************************************************
// Cette classe est auto-générée! Merci de ne pas faire de modification dedans !!
// ******************************************************************************


class User {

    private $id; 
    private $nickname; 
    private $mail; 
    private $password; 
    private $birthday; 
    private $first_name; 
    private $last_name; 
    private $sexe; 
    
    public function __construct() {
    }

    public function getId() { 
       return $this->id; 
    } 

    public function setId($id) { 
       $this->id = $id; 
    } 

    public function getNickname() { 
       return $this->nickname; 
    } 

    public function setNickname($nickname) { 
       $this->nickname = $nickname; 
    } 

    public function getMail() { 
       return $this->mail; 
    } 

    public function setMail($mail) { 
       $this->mail = $mail; 
    } 

    public function getPassword() { 
       return $this->password; 
    } 

    public function setPassword($password) { 
       $this->password = $password; 
    } 

    public function getBirthday() { 
       return $this->birthday; 
    } 

    public function setBirthday($birthday) { 
       $this->birthday = $birthday; 
    } 

    public function getFirst_name() { 
       return $this->first_name; 
    } 

    public function setFirst_name($first_name) { 
       $this->first_name = $first_name; 
    } 

    public function getLast_name() { 
       return $this->last_name; 
    } 

    public function setLast_name($last_name) { 
       $this->last_name = $last_name; 
    } 

    public function getSexe() { 
       return $this->sexe; 
    } 

    public function setSexe($sexe) { 
       $this->sexe = $sexe; 
    } 

    public function doMapping($row) { 
       $this->id = $row['id'] 
       $this->nickname = $row['nickname'] 
       $this->mail = $row['mail'] 
       $this->password = $row['password'] 
       $this->birthday = $row['birthday'] 
       $this->first_name = $row['first_name'] 
       $this->last_name = $row['last_name'] 
       $this->sexe = $row['sexe'] 
    } 
 } 
?>